from django.shortcuts import render

from common.helpers import my_login_required


def home(request):
    return render(request, "index.html", {})


@my_login_required
# @check_perm('/rent/estates/')
def add_estate(request):
    pass


@my_login_required
def publish(request):
    if request.method == 'GET':
        return render(request, 'pub.html', {})
    else:
        pass


def search(request):
    pass
